package com.yidu.qx.action;

import com.yidu.qx.domain.QxRolesModulesEntity;
import com.yidu.qx.service.ModuleService;
import com.yidu.qx.service.RolesModulesService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.List;

/**
 * @program: jurisdiction
 * @description: 角色模型控制器
 * @author: 张超
 * @create: 2019-09-28 13:40
 */

@RequestMapping("RolesModulesController")
@Controller
public class RolesModulesController {

    @Resource
    RolesModulesService rolesModulesService;

    @RequestMapping("select")
    @ResponseBody
    public List<QxRolesModulesEntity> select(QxRolesModulesEntity QxRolesModulesEntity){

        return rolesModulesService.select(QxRolesModulesEntity);
    }
}